home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005 / CHIP Utilities 2005.iso / dosapps / fmaven / techinfo.doc < prev   
Encoding:
Text File  |  1998-01-08  |  6.2 KB  |  141 lines

  1.  
  2.                              File Maven (tm) 3.5
  3.                          Technical/Misc Information
  4.  
  5.  
  6. System Requirements
  7. -------------------
  8. File Maven will run on any 8088/286/386/486/Pentium compatible PC that has
  9. 640K of conventional RAM (460K free) and DOS 3.0 or higher.  File transfers
  10. work best when not run under Windows.
  11.  
  12.  
  13. Serial Link Null Modem Cable
  14. ----------------------------
  15. There are basically two types of null modem cables: 3-wire and 7-wire.  The
  16. 3-wire cable contains only transmit, receive, and ground lines.  The
  17. 7-wire cable has four additional handshaking lines.  File Maven supports
  18. both cables but users should get a 7-wire cable if possible for faster file
  19. transfers.  A 7-wire cable can be used in 3-wire link mode, but the reverse
  20. is not true.  Null modem cables are available in most computer supply stores.
  21. If possible, look for a 4-headed null-modem cable that can support both 9-pin
  22. and 25-pin serial ports at either end.
  23.  
  24.  
  25.                   DB25 DB9            DB9  DB25
  26.                   ---- ---            ---  ----
  27.                    2    3   TX -- RX   2    3
  28.                    3    2   RX -- TX   3    2
  29.                    4    7  RTS -- CTS  8    5    <-- 7-wire only
  30.                    5    8  CTS -- RTS  7    4    <-- 7-wire only
  31.                    6    6  DSR -- DTR  4   20    <-- 7-wire only
  32.                    7    5   SG -- SG   5    7
  33.                   20    4  DTR -- DSR  6    6    <-- 7-wire only
  34.  
  35.              3-wire/7-Wire Null Modem Pin Configuration
  36.  
  37.  
  38. Parallel Link Cable
  39. -------------------
  40. There are basically two types of parallel link cables: 4-bit and 8-bit.
  41. The 8-bit cable contains more lines and uses an additional register on the
  42. parallel port for faster data transfer. File Maven supports both cables.
  43. An 8-bit cable can be used in 4-bit mode but the reverse is not true.
  44. The parallel link has three advantages over the serial link:
  45.  
  46. 1. The 8-bit parallel link is up to 3 times faster than the 7-wire serial
  47.    link at the fastest baud rate.
  48. 2. All standard parallel ports are 25-pin, so 4-headed cables are never
  49.    needed.
  50. 3. There are no baud rate settings with the parallel link.
  51.  
  52.  
  53.                            DB25M            DB25M
  54.                            -----            -----
  55.                              1 ─────────────  1     <-- 8-bit only
  56.                              2 ───────────── 15
  57.                              3 ───────────── 13
  58.                              4 ───────────── 12
  59.                              5 ───────────── 10
  60.                              6 ───────────── 11
  61.                             10 ─────────────  5
  62.                             11 ─────────────  6
  63.                             12 ─────────────  4
  64.                             13 ─────────────  3
  65.                             14 ───────────── 14     <-- 8-bit only
  66.                             15 ─────────────  2
  67.                             16 ───────────── 16     <-- 8-bit only
  68.                             17 ───────────── 17     <-- 8-bit only
  69.                             25 ───────────── 25
  70.  
  71.  
  72.                    4-bit/8-bit Parallel Pin Configuration
  73.  
  74. Cable Source
  75. ------------
  76. A good place to buy cables is Computer Gate International at (408) 730-0673.
  77. They carry both serial (p/n CNL0925FF) and parallel (p/n CNL2525MM) "Laplink"
  78. style cables that work with File Maven.  See their ad in the Computer Shopper
  79. or check out www.computergate.com.
  80.  
  81.  
  82. Ports and Interrupts
  83. --------------------
  84. File Maven reads the serial and parallel ports addresses from a 14-byte
  85. array in your computer's BIOS data segment starting at 0040:0000.  The four
  86. possible COM port addresses are contained in the first 8 bytes and the three
  87. possible LPT port addresses are contained in the next 6 bytes.  File Maven
  88. uses direct polling instead of interrupt driven communications for the
  89. fastest possible connections.  Therefore, there no are IRQ settings to
  90. adjust.
  91.  
  92.  
  93. Blowfish File Encryption
  94. ------------------------
  95. File Maven uses Blowfish in ECB mode with a 32-bit key for file encryption.
  96. Blowfish, a variable size key block-encryption algorithm, was developed by
  97. Bruce Schneier, author of "Applied Cryptography" (Wiley), and presented in
  98. the April 1994 edition of Dr. Dobb's Journal.
  99.  
  100. File Maven's implementation differs from the original specification in two
  101. areas.  First, instead of initializing the s-boxes with the hexadecimal
  102. digits of pi, File Maven uses the output of a pseudo-random number generator.
  103. This eliminates the need for a separate 4k data file.  The PRNG equation
  104. used is: rng(i)=rng(i-1)*134775813+1 where rng is a 32-bit variable
  105. initialized to ffffffff hex.  Second, PCs with Intel CPUs store data in
  106. little endian format (least significant byte first in a multi-byte word).
  107. The original specification converts each block to big endian format before
  108. encrypting and back to little endian format before saving.  Since this only
  109. slows encryption and does not change the security of the algorithm, File
  110. Maven skips the conversions.
  111.  
  112. File Maven uses the Secure Hash Algorithm (SHA) to generate the session
  113. key.  The SHA was developed by The National Institute of Standards and
  114. Technology (NIST), along with the National Security Agency (NSA).
  115. File Maven takes the user's pass phrase, converts it to uppercase, and
  116. runs it through the SHA.  This results in a 160-bit message digest, or
  117. hash value.  Because of government restrictions on the export of
  118. encryption techology, File Maven only uses the 32 most significant bits
  119. for the session key and thus would only be considered to have "casual"
  120. strength security.
  121.  
  122.  
  123. Programming Language
  124. --------------------
  125. File Maven 3.5 was written using the Borland Pascal 7.01 compiler and
  126. contains over 15,000 lines of code.  The low level Link functions were
  127. written with in-line assembly code.  All code is the original work of
  128. the author except for the compiler's run-time library.  No external
  129. libraries were used.  Previous versions were marketed as shareware.
  130.  
  131.  
  132. Contacting the Author
  133. ---------------------
  134. For technical support or other inquiries, send a note to:
  135.  
  136. Kent Briggs
  137. kbriggs@briggsoft.com
  138.  
  139. Visit the Briggs Softworks web site at www.briggsoft.com for information
  140. on other shareware and freeware programs.
  141.